package com.wcarmon.life.event { 

	import flash.events.Event;
	import com.adobe.cairngorm.control.CairngormEvent;
	import com.wcarmon.life.vo.*;
	
	public class SaveBlockFieldEvent extends CairngormEvent { 
		
		public static var EVENT_SAVE_BLOCK_FIELD : String = "saveBlockField";
		
		public var block_id : uint;
		public var block_field_name : String;
		public var block_field_value :*;
		public var callbackScreen : Object;
		
		public function SaveBlockFieldEvent( block_id : uint, 
											fieldName : String, 
											fieldValue :*, 
											cbs : Object ) {
			super( EVENT_SAVE_BLOCK_FIELD );
			this.block_id = block_id;
			this.block_field_name = fieldName;
			this.block_field_value = fieldValue;
			this.callbackScreen = cbs;
		}
		
		override public function clone() : Event {
			return new SaveBlockFieldEvent( this.block_id, 
										this.block_field_name,
										this.block_field_value, 
										this.callbackScreen );
		}
	}
}